package cn.community.care.module.system.controller.admin.purchaseinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 采购信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PurchaseInfoRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7819")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "采购订单号")
    @ExcelProperty("采购订单号")
    private String purchaseOrderNum;

    @Schema(description = "采购日期")
    @ExcelProperty("采购日期")
    private String purchaseDate;

    @Schema(description = "供应商名称", example = "芋艿")
    @ExcelProperty("供应商名称")
    private String supplierName;

    @Schema(description = "采购数量")
    @ExcelProperty("采购数量")
    private Integer quantity;

    @Schema(description = "采购单价", example = "6826")
    @ExcelProperty("采购单价")
    private String unitPrice;

    @Schema(description = "采购金额，总花费")
    @ExcelProperty("采购金额，总花费")
    private String totalAmount;

    @Schema(description = "采购负责人姓名", example = "李四")
    @ExcelProperty("采购负责人姓名")
    private String purchaserName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}